package com.wkedu.repair.student.mapper;

import com.wkedu.repair.RepairApplicationTests;
import com.wkedu.repair.dao.ReachMapper;
import com.wkedu.repair.dto.ReachDto;
import com.wkedu.repair.entity.Reach;
import com.wkedu.repair.service.ReachService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * @author 港港
 * @version 1.0
 * @date 2021/9/18 10:02 上午
 */
public class test extends RepairApplicationTests {

    @Resource
    private ReachMapper reachMapper;

    @Autowired
    private ReachService reachService;

    @Test
    public void tesat(){

        List<ReachDto> reachDtoList = reachService.listReachForStudent("aa");

        for (ReachDto r :
                reachDtoList) {
            System.out.println(r.getReachTeacher());
        }


    }
}
